//
//  UITableView+Category.m
//  SeaMelonSeeds_Counselor
//
//  Created by 尤振宇 on 2017/7/25.
//  Copyright © 2017年 杨笑. All rights reserved.
//

#import "UITableView+Category.h"

@implementation UITableView (Category)

-(void)registerCellWithNib:(NSString *)nibName
{
    [self registerNib:[UINib nibWithNibName:nibName bundle:nil] forCellReuseIdentifier:nibName];
}

-(void)registerCellWithClass:(NSString *)className
{
    [self registerClass:NSClassFromString(className) forCellReuseIdentifier:className];
}

@end
